﻿#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include <QVector>
#include <QDebug>
#include <QDir>
#include <QStandardPaths>
#include "LECalibrator.h"
#include "LEData.h"

namespace Ui {
class Dialog_LECalibrator;
}

class Dialog_LECalibrator : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog_LECalibrator(QWidget *parent = 0);
    ~Dialog_LECalibrator();
public slots:
    void updateEncoder(double x_mm, double y_mm);
private slots:
    void writeSettings_x();
    void writeSettings_y();
    void addPoint_x();
    void addPoint_y();
private:
    Ui::Dialog_LECalibrator *ui;
    LEData ledata_x;
    LEData ledata_y;
};

#endif // DIALOG_H
